<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
        
<%@ include file="/taglibs.jsp"%>
<jsp:directive.page import="com.winterwar.base.Convention"/>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <title><decorator:title default="ww-demo"/></title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	<meta name="description" content="Winter War is the Midwest's longest cosecutively running independant gaming convention. We are a game-centric, no frills convention focussed on providing the maximum gaming experience possible.">
	<meta name="Keywords" content="Midwest, gaming, convention, miniatures, role playing game, role playing convention, gaming convention, little wars, advanced squad leader">
    <c:set var="ctx" value="${pageContext.request.contextPath}" scope="request"/>
    <link href="${ctx}/styles/winterwar.css" type="text/css" rel="stylesheet"/>
    <link href="${ctx}/images/favicon.ico" rel="SHORTCUT ICON"/>
    <decorator:head/>
    <script type="text/javascript" src="${ctx }/scripts/jquery-1.3.2.min.js" language="javascript" ></script>
    <script type="text/javascript" src="${ctx }/scripts/Ajax.js" language="javascript"></script>
<%
	if(session.getAttribute("userID") != null && session.getAttribute("userLevel") != null){
		Integer level = (Integer) session.getAttribute("userLevel");
		if(level.intValue() < 2)
			%><script>location = "/";</script><%
	} else { 
		%><script>location = "/";</script><%
	}
%>
</head>
	<body>
		<center>
		<div style="width:1024px;">
		<div class="topContainer">
			<div class="menu-body">
				<div class="winter">Winter</div>
				<div class="war">War</div>
				<div class="slogan"> The Midwest's Longest Consecutively Running Independent Gaming Convention! &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div><!--'-->
				<div class="loginForm">
				<% if(session.getAttribute("userID") == null){ %>
					<html:form action="/user" focus="user.username">
						<input type="hidden" name="method" value="login"/>
						<span><bean:message key="user.username"/>:</span>
						<html:text property="user.username"/>
						<span><bean:message key="user.password"/>:</span>
						<html:password property="user.password"/>
						<html:submit styleClass="button">Login</html:submit>
					</html:form>
					<span><a class="mainLink" href="user.do?method=edit">New Account</a></span>
					</div>
				<%} else {%>
					<img src="${ctx }/logo_small.jpg" alt="Thank you for logging in" title="Thank you for logging in" />
				<%} %>
			</div>
			<div class="clear" <%if(session.getAttribute("userID") == null){ %>style="height:87px"<%} %>></div>
			<div class="menu" id="menu" id="menu" cellspacing="0" border="0" cellpadding="0">
				<span class="menuItemTop"><a class="mainLink" href="./convention.do?method=list">Conventions</a></span><br/>
				<span class="menuItemTop"><a class="mainLink" href="./slot.do?method=listByCon">Slots</a></span><br/>
				<span class="menuItemTop"><a class="mainLink" href="./event.do?method=status">Events</a></span><br/>
				<span class="menuItemTop"><a class="mainLink" href="./registration.do?method=status">Registrations</a></span><br/>
				<span class="menuItemTop"><a class="mainLink" href="./user.do?method=list">Users</a></span><br/>
				<span class="menuItemTop"><a class="mainLink" href="./table.do?method=listByCon">Tables</a></span><br/>
				<span class="menuItemTop"><a class="mainLink" href="/blog/wp-admin/">Static Content</a></span>
				<span class="menuItemTop"><a class="mainLink" href="./clearCache.jsp">Clear Cache</a></span>
				<br/>
				<span class="menuItemTop"><a class="mainLink" href="../index.jsp">Back To Main</a></span><br/>
			</div>
			<div class="content" id="content">
				<jsp:include page="../messages.jsp" />
				<decorator:body />
			</div>
			<div style="clear:both"></div>
			<center>
			<div class="footer" id="footer">
				<hr />
				Winter War and all it's related components are Copyrighted Winter War Gaming Convention, Inc. 2007-2008, All Rights Reserved.<br />
		
				Original Logo by <a href="mailto:mallaard@hotmail.com">Deric Phillips</a><br />
				Site design by <a href="mailto:rgthigpen@gmail.com">Royce Thigpen</a><br />
		
			</div>
			</center>
		</div>
		</div>
		</center>
	</body>
</html>
	
	